/*
 * Message.h
 *
 *  Created on: Aug 12, 2012
 *      Author: nam20485
 */

#ifndef MESSAGE_H_
#define MESSAGE_H_

#include "Arduino.h"

class Message
{
public:
	typedef unsigned char BYTE;

	typedef enum
	{
		NONE,
			STANDARD,
			CONTROL,
			BYTE_STREAM,
			NUM_TYPES
	} Type;

	Type TYPE;

	Message(const BYTE* aBytes);
	virtual ~Message();

	virtual unsigned int ToBytes(BYTE* aBytes = 0) const;

protected:

};

#endif /* MESSAGE_H_ */
